<div class="edit">
    <form id="editForm" method="post">
        <div id="win"></div>
        <table class="infobox" width="100%" border="0" cellspacing="5px"
               cellpadding="1px">
            <tr>
                <td width="23%"><label>名字：</label></td>
                <td width="77%"><input name="name" type="text" style="width:200px;" value="${(doctor.name)!''}"
                                       class="easyui-validatebox" autocomplete="off"/></td>
            </tr>
            <tr>
                <td width="23%"><label>性别：</label></td>
                <td width="77%">
                    <input class="easyui-combobox" name="sex" id="sexView" style="width:200px"
                           panelHeight="300px" value="${(doctor.sex)!''}"
                           data-options="editable:false">
                <#--<input name="grade" type="text" style="width:200px;" value="${(doctor.grade)!''}"-->
                <#--class="easyui-validatebox" autocomplete="off"/>-->
                </td>
            </tr>
            <tr>
                <td width="23%"><label>职称：</label></td>
                <td width="77%">
                    <input class="easyui-combobox" name="grade" id="gradeView" style="width:200px"
                           panelHeight="300px" value="${(doctor.grade)!''}"
                           data-options="editable:false">
                    <#--<input name="grade" type="text" style="width:200px;" value="${(doctor.grade)!''}"-->
                                       <#--class="easyui-validatebox" autocomplete="off"/>-->
                </td>
            </tr>
            <tr>
                <td width="23%"><label>从事医院：</label></td>
                <td width="77%"><input name="hospital" type="text" style="width:200px;" value="${(doctor.hospital)!''}"
                                       class="easyui-validatebox" autocomplete="off"/></td>
            </tr>
            <tr>
                <td width="23%"><label>主治：</label></td>
                <td width="77%">
                    <input name="attending" type="text" style="width:200px;" value="${(doctor.attending)!''}"
                                       class="easyui-validatebox" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <td width="23%"><label>身份证：</label></td>
                <td width="77%"><input name="identityCard" type="text" style="width:200px;" value="${(doctor.identityCard)!''}"
                                       class="easyui-validatebox" autocomplete="off"/></td>
            </tr>
            <tr>
                <td width="23%"><label>从业资格证：</label></td>
                <td width="77%"><input name="qualificationCertificate" type="text" style="width:200px;" value="${(doctor.qualificationCertificate)!''}"
                                       class="easyui-validatebox" autocomplete="off"/></td>
            </tr>
            <tr>
                <td width="23%"><label>学历：</label></td>
                <td width="77%">
                    <input class="easyui-combobox" name="education" id="educationView" style="width:200px"
                           panelHeight="300px" value="${(doctor.education)!''}"
                           data-options="editable:false">
                    <#--<input name="education" type="text" style="width:200px;" value="${(doctor.education)!''}"-->
                           <#--class="easyui-validatebox" autocomplete="off"/>-->
                </td>
            </tr>
            <tr>
                <td width="23%"><label>职务：</label></td>
                <td width="77%">
                    <input class="easyui-combobox" name="credentials" id="credentialsView" style="width:200px"
                           panelHeight="300px" value="${(doctor.credentials)!''}"
                           data-options="editable:false">
                    <#--<input name="credentials" type="text" style="width:200px;" value="${(doctor.credentials)!''}"-->
                           <#--class="easyui-validatebox" autocomplete="off"/>-->
                </td>
            </tr>
            <tr>
                <td width="23%"><label>出生日期：</label></td>
                <td width="77%">
                    <input id="birthday" name="birthday"  class="easyui-datebox" style="width:100px" value="${(doctor.birthday)!''}" data-options="editable:false">
                    <#--<input name="birthday" type="text" style="width:200px;" value="${(doctor.birthday)!''}"-->
                           <#--class="easyui-validatebox" autocomplete="off"/>-->
                </td>
            </tr>
            <tr>
                <td width="23%"><label>从业日期：</label></td>
                <td width="77%">
                    <input id="employmentDate" name="employmentDate"  class="easyui-datebox" style="width:100px" value="${(doctor.employmentDate)!''}" data-options="editable:false">
                    <#--<input name="employmentDate" type="text" style="width:200px;" value="${(doctor.employmentDate)!''}"-->
                                       <#--class="easyui-validatebox" autocomplete="off"/>-->
                </td>
            </tr>
            <tr>
                <td width="23%"><label>电话：</label></td>
                <td width="77%"><input name="phone" type="text" style="width:200px;" value="${(doctor.phone)!''}"
                                       class="easyui-validatebox" autocomplete="off"/></td>
            </tr>
            <tr>
                <td width="23%"><label>邮箱：</label></td>
                <td width="77%"><input name="email" type="text" style="width:200px;" value="${(doctor.email)!''}"
                                       class="easyui-validatebox" autocomplete="off"/></td>
            </tr>
            <tr>
                <td width="23%"><label>备注：</label></td>
                <td width="77%"><input name="remark" type="remark" style="width:200px;" value="${(doctor.remark)!''}"
                                       class="easyui-validatebox" autocomplete="off"/></td>
            </tr>
        </table>
        <input hidden type="text" name="id" value="${(doctor.id)!''}">
    </form>
</div>
<script type="text/javascript">
    $("#gradeView").combobox({
        url: '/common/getDictionary?code=yszc',
        valueField: 'id',
        textField: 'name'
    });
    $("#educationView").combobox({
        url: '/common/getDictionary?code=xl',
        valueField: 'id',
        textField: 'name'
    });
    $("#credentialsView").combobox({
        url: '/common/getDictionary?code=yszw',
        valueField: 'id',
        textField: 'name'
    });
    $("#sexView").combobox({
        url: '/common/getDictionary?code=sex',
        valueField: 'id',
        textField: 'name'
    });
</script>